package com.soilflow.info.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.soilflow.common.domain.LandCarouselChart;
import com.soilflow.info.mapper.LandCarouselChartMapper;
import com.soilflow.info.service.LandCarouselChartService;
/** 
@author dhp 
@date 2023/12/14 - 13:33
*/
@Service
public class LandCarouselChartServiceImpl extends ServiceImpl<LandCarouselChartMapper, LandCarouselChart> implements LandCarouselChartService{
    /**查询【轮播图】
     *
     * @param id 【轮播图】主键
     * @return 【轮播图】
     */
    @Override
    public LandCarouselChart selectLandCarouselChartById(Long id) {
        return this.getById(id);
    }
    /**
     * 保存【轮播图】
     *
     * @param Dto 【轮播图】
     * @return 结果
     */
    @Override
    public Boolean updateLandCarouselChart(LandCarouselChart Dto) {
        return this.saveOrUpdate(Dto);
    }
}
